Demo: Learn more about floats and integers and practice identifying which numbers are floats or integers!
Any whole number with no decimal or fractional parts is an integer.
Numbers WITH decimal or fractional parts are floats. Any number that is a result of division is a float!
Doing any math with a float AND an integer will result in a float. Example: 2.0 * 5 = 10.0. Even 10.0 is a float!
To navigate the page using the TAB key, first press ESC to exit the code editor.